package com.doitedu.day05.oob

/**
 * @Date 22.6.25
 * @Created by HANGGE
 * @Description
 */
object Test01 {
  def main(args: Array[String]): Unit = {

    val demo = new _05修饰符(1)
    demo.id
  /*  demo.id
    demo.name
    demo.test01()*/


  /*  val zss = new _02Demo01(1, "zss", 23)
    val lss = new _02Demo01(2, "lss", 33)
    // 私有属性 不能访问
   // println(zss.gender)
    zss.addr= "BJ"  //null
    println(zss.addr)
    //msg 对象中的私有属性
   // _02Demo01.msg*/

 /*   val stu = _07Student(1, "zss", 23)
    stu.id*/
 val stu = _07Student(1, "zss", 23)
    println(stu.id)

  }
}
